package tripmaker
package eventos

object HitoPago {
  def apply(txt: String*)(c: Monto): HitoPago = new HitoPago {
    def texto = txt
    override def costo = c
  }
}


trait HitoPago extends Hito {
  
  override def toString = (texto mkString "\n  ") + " " + costo
}